package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.QMytongjiMapper;
import com.ruoyi.system.domain.QMytongji;
import com.ruoyi.system.service.IQMytongjiService;
import com.ruoyi.common.core.text.Convert;

/**
 * 客服不满意率统计Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-07-17
 */
@Service
public class QMytongjiServiceImpl implements IQMytongjiService 
{
    @Autowired
    private QMytongjiMapper qMytongjiMapper;

    /**
     * 查询客服不满意率统计
     * 
     * @param myid 客服不满意率统计主键
     * @return 客服不满意率统计
     */
    @Override
    public QMytongji selectQMytongjiByMyid(Long myid)
    {
        return qMytongjiMapper.selectQMytongjiByMyid(myid);
    }

    /**
     * 查询客服不满意率统计列表
     * 
     * @param qMytongji 客服不满意率统计
     * @return 客服不满意率统计
     */
    @Override
    public List<QMytongji> selectQMytongjiList(QMytongji qMytongji)
    {
        return qMytongjiMapper.selectQMytongjiList(qMytongji);
    }

    /**
     * 新增客服不满意率统计
     * 
     * @param qMytongji 客服不满意率统计
     * @return 结果
     */
    @Override
    public int insertQMytongji(QMytongji qMytongji)
    {
        return qMytongjiMapper.insertQMytongji(qMytongji);
    }

    /**
     * 修改客服不满意率统计
     * 
     * @param qMytongji 客服不满意率统计
     * @return 结果
     */
    @Override
    public int updateQMytongji(QMytongji qMytongji)
    {
        return qMytongjiMapper.updateQMytongji(qMytongji);
    }

    /**
     * 批量删除客服不满意率统计
     * 
     * @param myids 需要删除的客服不满意率统计主键
     * @return 结果
     */
    @Override
    public int deleteQMytongjiByMyids(String myids)
    {
        return qMytongjiMapper.deleteQMytongjiByMyids(Convert.toStrArray(myids));
    }

    /**
     * 删除客服不满意率统计信息
     * 
     * @param myid 客服不满意率统计主键
     * @return 结果
     */
    @Override
    public int deleteQMytongjiByMyid(Long myid)
    {
        return qMytongjiMapper.deleteQMytongjiByMyid(myid);
    }
}
